package com.lkxicy.wos.service;

import com.lkxicy.wos.pojo.entity.Staff;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lkxicy.wos.pojo.vo.ScheduleRecord;
import javafx.beans.binding.ObjectExpression;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lkxicy
 * @since 2020-11-30
 */
public interface StaffService extends IService<Staff> {

    public Map<Object,Object> searchPageStaff(int pageNum, int limit);

    public List<Staff> searchAllStaff();

    public String changeStaff(Staff staff);

    public String deleteStaff(String num);

    public String addStaff(Staff staff);

    public String changeStaffPassword(String num,String pass,String newPass);

    public String[] staffLogin(String staffNumber, String password);

    public String resetPassword(String staffNumber);

    public List<String> selectAllDepartment();

    public Staff searchOneStaff(String staffNumber);



}
